package com.example.mybatisplus.service.impl;
import com.example.mybatisplus.entity.UserInfo;
import com.example.mybatisplus.mapper.UserInfoMapper;
import com.example.mybatisplus.service.UserInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Author: wust
 * @Description:
 * @CreateDate: 2021-05-26 08:31
 * @Version: 1.0
 */


@Slf4j
@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public List<UserInfo> findAllUserList() {
        return userInfoMapper.selectList(null);
    }
}
